<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"	
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:appcc="http://java.sun.com/jsf/composite/components"
	template="/WEB-INF/layouts/main.xhtml">
	<ui:param name="title" value="concurrentModificationResolution_title" />
	<ui:define name="content">
		<p:panel id="refreshPanel" header="#{msg.concurrentModificationResolution_conflict}">
			<input type="hidden" name="_cid" value="#{conversationManager.currentConversation.cid}"/>
			<p:outputPanel>
				<h:outputText value="#{msg.concurrentModificationResolution_description}" escape="false" />
			</p:outputPanel>
			<p:commandButton 
				ajax="false"
				action="#{concurrentModificationResolver.refresh()}"
				process="@form"
				value="#{msg.refresh}"
				title="#{msg.concurrentModificationResolution_refresh}">
			</p:commandButton>
			<p:commandButton 
				ajax="false"
				action="#{concurrentModificationResolver.discard()}"
				process="@form"
				value="#{msg.discard}"
				title="#{msg.concurrentModificationResolution_discard}">
			</p:commandButton>
		</p:panel>
	</ui:define>
</ui:composition>
